import { FormSchema } from '/@/components/Form';

export const sqlliteSchemas: FormSchema[] = [
  {
    field: 'db',
    component: 'Input',
    label: '数据库名称',
    componentProps: {
      placeholder: '请输入数据库名称',
    },
    required: true,
  },
  {
    field: 'table_name',
    component: 'Input',
    label: '表名称',
    componentProps: {
      placeholder: '请输入数据库表名称',
    },
  },
  {
    field: 'table_prefix',
    component: 'Input',
    label: '表名称前缀',
    componentProps: {
      placeholder: '请输入数据库表名称前缀',
    },
  },
  {
    field: 'max_days_to_store_data',
    component: 'Input',
    label: '保存时间(天)',
    componentProps: {
      placeholder: '请输入数据存储时间',
    },
  },
];
